/*
 * @Description: 
 * @Date: 2023-12-26 16:34:53
 * @LastEditTime: 2024-04-23 09:43:50
 */
import request from '@/utils/request'

//新增联络站
export function addLianLuo(data) {
    return request({
        url: '/system/contactStation',
        method: 'post',
        data: data
    })
}

//获取列表
export function addLianLuoList(data) {
    return request({
        url: '/system/contactStation/list',
        method: 'get',
        params: data
    })
}

//修改联络站
export function updateLianLuoList(data) {
    return request({
        url: '/system/contactStation',
        method: 'put',
        data: data
    })
}

//联络站详情
export function getLianLuoItem(deId) {
    return request({
        url: `/system/contactStation/${deId}`,
        method: 'get',
    })
}
//删除联络站

export function deleteLianLuo(deId) {
    return request({
        url: `/system/contactStation/${deId}`,
        method: 'delete',
    })
}
